<div id="word-list">
<% if flash[:notice] %>
<div class="notice"><%= flash[:notice] %></div>
<% end %>
<div id="word-operation"><%= link_to '添加新单词', new_word_path %></div>
<%= render(:partial => "word", :collection => @words) %> 
</div>
<%= will_paginate @words%>